Test Case Specification
Introduction
This document contains the test cases to be carried out for the application. Each case details the input and expected outputs.
Test Case
Login
Test ID | 1.1 |
---|---|
Title | Login with Spaggiari ClasseViva |
Objective | Confirm that proper email and password yields access to the website |
Setup | A web server must be running |
Test Data
Login information:
- User/Email of account Spaggiari ClasseViva
- Password
Test Action
- Open Web Site
- Click on button "Accedi" on the top right corner
- Insert User Information
Expected Results
Same page from which you come, edited according to the permissions granted
Test ID | 1.2 |
---|---|
Title | Login with Local Account |
Objective | Confirm that proper username and password yields access to the website |
Setup | A web server must be running |
Test Data
Login information:
- User/Email of local account
- Password
Test Action
- Open Web Site
- Click on button "Accedi" on the top right corner
- Insert User Information
Expected Results
Same page from which you come, edited according to the permissions granted
Test ID | 1.3 |
---|---|
Title | Incorrect Password |
Objective | Confirm that invalid username and password don't allow access to the website |
Setup | A web server must be running |
Test Data
Login information:
- User/Email
- Password
Test Action
- Open Web Site
- Click on button "Accedi" on the top right corner
- Insert User Information
Expected Results
Same page and appear a error message
Filter Companies
Test ID | 2.1 |
---|---|
Title | Add Filters |
Objective | Confirm that filters filter companies |
Setup | A web server must be running |
Test Action
- Open Web Site
- Select filters on the left sidebar
- Click the green button
Expected Results
Same page with only the filtered companies
Companies Informations
Test ID | 3.1 |
---|---|
Title | Companies Informations |
Objective | Confirm that appear the right company information |
Setup | A web server must be running |
Test Action
- Open Web Site
- Click the blue button on the right of the company choosen
Expected Results
New page with the all information of that company
Edit Company
Test ID | 4.1 |
---|---|
Title | Add Company |
Objective | Confirm that all the company information are added |
Setup | INSERT Permission required. A web server must be running |
Test Data
Company information:
- Type: Azienda
- Name: G. Marconi
- Address: Piazzale Guardini
- District: Verona
Test Action
- Open Web Site
- Click the button "Aggiungi"
- Insert all company information
- Click the button "Salva"
Expected Results
Same page and appear a success message
Test ID | 4.2 |
---|---|
Title | Edit Company |
Objective | Confirm that all the company information are edited |
Setup | UPDATE Permission required. A web server must be running |
Test Data
Company Information:
- Name: NewName
Test Action
- Open Web Site
- Select a Company by clicking on it
- Click the button "Modifica"
- Edit all company information
- Click the button "Salva"
Expected Results
Same page and appear a success message
Test ID | 4.3 |
---|---|
Title | Delete Company |
Objective | Confirm that all the company information are deleted |
Setup | DELETE Permission required. A web server must be running |
Test Action
- Open Web Site
- Select a Company by clicking on it
- Click the button "Elimina"
- Confirm your choice
Expected Results
Same page and appear a success message